import React from 'react';
import ReactDOM from 'react-dom';
import Layout from '@/layout';
import '@/common/index.less';
import {HashRouter, Route, Switch} from 'react-router-dom';
import Login from '@/pages/login';

ReactDOM.render(
   <React.StrictMode>
      <HashRouter>
         <Switch>
            <Route path='/login' exact component={Login} />
            <Layout />
         </Switch>
      </HashRouter>
   </React.StrictMode>,
   document.getElementById('root')
);
